﻿/*
 * Content:
 * - Font rules
 * - General styles
 * - Custom classes
 * - Page specific rules
*/

/* 
 * Font rules
 */
h1, h2, h3{
	font-family: 'Italianno', cursive;
	color: black;
}
h1 {
	font-size: 40px;
}
h2 {
	font-size: 49px;
	text-align: center;
	margin-bottom: 35px;
}
h3 {
	font-size: 33px;
	margin-bottom: 8px;
}
h4, h5 {
	font-family: 'Junge', serif;
	text-align: center;
	font-size: 22px;
	color: black;
}
h5 {
	font-size: 19px;
}
a, p, div, span, li, label, input, textarea {
	font-family: 'Arimo', sans-serif;
	color: #777;
	font-size: 13px;
}
p {
	line-height: 23px;
	margin-bottom: 12px;
}
ul li {
	margin: 15px 0;
}
a {
	color: #535
}


/*
 * General rules
 */
html {
	background: #996699;
	background: url(../img/bg.png);
	background-size: 100% auto;
	-webkit-background-size: 100% auto;
}

#main {
	width: 900px;
	margin: 0 auto;
}

body > header {
	padding: 20px 0;
	position: fixed;
	top: 0;
	z-index: 999;
	width: 100%;
	background: white;
	text-align: center;
	
	box-shadow: 0 0 3px 0 #777;
}
body > header h1 {
	display: inline;
	text-transform: none !important;
}
nav {
	display: inline;
}
nav ul {
	margin: 0 20px;
}
nav ul li {
	display: inline;
	margin: 0 20px;
}
nav a {
	text-decoration: none;
	text-transform: uppercase;
	font-size: 13px;
}

section, .bgable {
	margin: 100px 0;
	padding: 40px 60px 50px 60px;
	background: white;
}

hr {
    padding: 0;
	width: 420px;
	height: 3px;
	border: none;
	background: white;
	position: relative;
	left: -240px;
    text-align: center;
	opacity: 0.3;
}
hr:before {
	content: " ";
	display: block;
	height: 3px;
	position: relative;
	left: 480px;
	width: 420px;
	background: white;
}
hr:after {
    content: "❤";
	color: white;
    display: inline-block;
    position: relative; 
	top: -12px;
	left: 240px;
    font-size: 27px;
    padding: 0 15px;
}


/*
 * Custom classes
 */
.polaroid, .polaroid-h {
	overflow: hidden;
	border: 10px solid white;
	box-shadow: 0 2px 3px 0 #888;
}
.polaroid img {
	max-height: 100%;
	position: relative;
	left: -25%;
}
.polaroid-h img {
	max-width: 100%;
	position: relative;
	top: -25%;
}

.last {
	margin-bottom: 0 !important;
}

.left {
	float: left;
}
.right {
	float: right;
}

.align-center {
	text-align: center;
	width: 100%;
	display: block;
}

.gallery.content {
	margin: 30px 0;
}
.gallery.content .icon {
	width: 30px;
    height: 10px;
    padding: 14px 6px 19px;
	margin: 54px 13px 13px;
	border-radius: 999px;
    background: black;
    color: white;
    text-align: center;
	float: left;
    font-size: 16px;
	cursor: pointer;
	
	transition: 0.2s ease;
	-webkit-transition: 0.2s ease;
}
.gallery .icon.unable {
	background: #ddd;
	cursor: default;
}
.gallery.content .icon:hover {
	transform: rotate(360deg);
	-ms-transform: rotate(360deg); /* IE 9 */
	-webkit-transform: rotate(360deg); /* Safari and Chrome */
	-o-transform: rotate(360deg); /* Opera */
	-moz-transform: rotate(360deg); /* Firefox */
}
.gallery-images {
	position: relative;
	width: 640px;
	height: 155px;
	float: left;
	overflow: hidden;
}
.gallery-images ul {
	position: absolute;
	float: left;
	display: inline;
	width: 10000px;
	left: 0;
}
.gallery-images ul li {
	width: 150px;
	height: 150px;
	float: left;
	margin: 0 5px;
	line-height: 150px;
}
.gallery-images ul li img {
	width: 130px;
	height: 130px;
	vertical-align: middle;
	
	transition: 0.2s ease;
	-webkit-transition: 0.2s ease;
}
.gallery-images ul li img:hover {
	opacity: 0.6;
}
.gallery-images ul li img.tall {
	width: auto;
	height: 130px;
}
.gallery-images ul li img.wide {
	width: 130px;
	height: auto;
}

.ribbon {
	padding: 15px 50px;
	margin: 0;
	margin-top: 30px;
	margin-bottom: 50px;
	position:relative;
	color: #ffffff;
	font-size: 32px;
	text-align: center;
	letter-spacing:0.1em;
	text-shadow: 0px -1px 0px rgba(0,0,0,0.3);
	box-shadow: inset 0px 1px 0px rgba(255,255,255,.3),
				inset 0px 0px 20px rgba(0,0,0,0.1),
				0px 1px 1px rgba(0,0,0,0.4);
	
	
	background: #ffffff; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url();
	background: -moz-linear-gradient(top,  #ffffff 70%, #eeeeee 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(70%,#ffffff), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ffffff 70%,#eeeeee 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ffffff 70%,#eeeeee 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ffffff 70%,#eeeeee 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #ffffff 70%,#eeeeee 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eeeeee',GradientType=0 ); /* IE6-8 */
	
	
	display: inline-block;
}
	
.ribbon:before, .ribbon:after {
	content: "";
	width:.2em;
	bottom:-.5em;
	position:absolute;
	display:block;
	border: .9em solid #eee;
	box-shadow:0px 1px 0px rgba(0,0,0,0.4);
	z-index:-2;
}
	
.ribbon:before {
	left:-1.35em;
	border-right-width: .75em;
	border-left-color:transparent;
}
	
.ribbon:after {
	right:-1.35em;
	border-left-width: .75em;
	border-right-color:transparent;
}
	
.ribbon .content:before, .ribbon .content:after {
	content:"";
	bottom:-.5em;
	position:absolute;
	display:block;
	border-style:solid;
	border-color: #bbb transparent transparent transparent;
	z-index:-1;
}
	
.ribbon .content:before {
	left: 0;
	border-width: .5em 0 0 .5em;
}
	
.ribbon .content:after {
	right: 0;
	border-width: .5em .5em 0 0;
}

.radio-button {
	position: relative;
	top: 12px;
	padding: 5px 5px;
	border-radius: 10px;
	border: 1px solid #bbb;
	position: relative;
	
	transition: 0.2s ease;
	-webkit-transition: 0.2s ease;
	cursor: pointer;
}
.radio-button .choise {
	margin: 0 5px;
	display: inline-block;
}
.radio-button.true {
	background: #daffda;
}
.radio-button.false {
	background: #ffdada;
}
.radio-button .circle {
	position: absolute;
	width: 34px;
	margin: 2px 0;
	height: 21px;
	top: 0;
	background: #777;
	border-radius: 10px;
	
	transition: 0.2s ease;
	-webkit-transition: 0.2s ease;
}
.radio-button.true .circle {
	left: 38px;
}
.radio-button.false .circle {
	left: 2px;
}


/* 
 * Page specific rules 
 */
#home {
	background: none;
	padding: 0;
	padding-top: 70px;
	text-align: center;
}
#home h2 {
	color: white;
	font-size: 80px;
	padding: 0;
	margin-bottom: 13px;
	line-height: 50px;
}
#home h3 {
	color: white;
	font-size: 35px;
	line-height: 25px;
}
#home .ribbon h3 {
	font-size: 30px;
	color: #555;
	line-height: 33px;
	margin-top: 7px;
}
#home h4 {
	font-size: 25px;
	color: white;
}
#home .ribbon {
	display: inline-block;
}
 
#about article {
	width: 365px;
	float: left;
}

#about .polaroid {
	width: 150px;
	height: 150px;
	float: left;
	display: inline-block;
	margin-right: 30px;
	margin-bottom: 20px;
}

#about article + article {
	margin-left: 50px;
}

#timeline {
	background: none;
	padding: 0;
}
#timeline .bgable {
	margin-bottom: 0;
}
#timeline .content {
	position: relative;
}
#the-line {
	width: 6px;
	background: white;
	height: 100%;
	position: absolute;
	top: 0;
	left: 447px
}
#timeline .column {
	width: 420px;
	margin: 40px 30px 0 0;
}
#timeline .column.right {
	margin: 40px 0 0 30px;
}

#timeline article {
	background: white;
	padding: 40px;
	padding-top: 30px;
	padding-bottom: 58px;
	position: relative;
	margin-bottom: 60px;
}
#timeline article:after {
	content: " ";
	display: block;
	position: absolute;
	
	top: 0;
	border-top: 26px solid transparent;
	border-bottom: 26px solid transparent; 
}
#timeline .column.left article:after {
	right: -15px;
	border-left: 15px solid white; 
}
#timeline  .column.right article:after {
	left: -15px;
	border-right: 15px solid white; 
}

#timeline article.timeline-note {
	padding: 20px;
	max-width: 200px;
	display: inline-block;
}
#timeline article.timeline-note:after, #timeline article.timeline-big:after {
	display: none;
}

#timeline article.timeline-big {
	width: 820px;
}

#timeline h4 {
	margin-bottom: 20px;
}
#timeline article p {
	margin-bottom: 20px;
}
#timeline .polaroid {
	display: inline;
}
#timeline img {
	margin-bottom: 20px;
	max-width: 320px;
}
#timeline .right .timeline-big {
	left: -480px;
}
#timeline .timeline-big img {
	max-width: 800px;
}
#timeline footer {
	position: absolute;
	left: 0;
	margin-top: 5px;
	padding-top: 15px;
	width: 100%;
	text-align: center;
	border-top: 1px solid #ddd;
}
#timeline article span {
	margin-right: 15px;
}
#timeline .icon {
	margin-right: 5px;
}

#where article {
	margin-bottom: 30px;
}
#where .icon {
	margin-right: 10px;
	display: inline-block;
}
#where article img {
	max-width: 50%;
	margin: 0 0 30px 30px;
	float: right;
}


#gifts .gallery-images img {
	opacity: 0.4;
	
	transition: 0.2s ease;
	-webkit-transition: 0.2s ease;
}
#gifts .gallery-images img:hover {
	opacity: 1;
}

#contact input {
	display: block;
	margin-top: 6px;
}
#contact input[type="reset"], #contact input[type="submit"] {
	display: inline;
}
#contact input[type="text"] {
	width: 340px;
	border-radius: 10px;
	padding: 5px 10px;
	border: 1px solid #bbb;
	outline: none;
	
	transition: 0.2s ease;
	-webkit-transition: 0.2s ease;
}
#contact input[type="text"]:hover, #contact textarea:hover {
	box-shadow: 0 0 10px -3px #222;
}
#contact input[type="text"]:focus, #contact textarea:focus {
	box-shadow: 0 0 10px -3px #222;
	border: 1px solid #666;
}
#contact textarea {
	width: 758px;
	height: 120px;
	margin-bottom: 12px;
	
	border-radius: 10px;
	padding: 5px 10px;
	border: 1px solid #bbb;
	margin-top: 6px;
	outline: none;
}

#contact input[type="submit"], #contact input[type="reset"] {
	background: white;
	border: 1px solid #bbb;
	border-bottom: 2px solid #777;
	padding: 8px 15px;
	border-radius: 10px;
	cursor: pointer;
	position: relative;
	
	transition: 0.2s ease;
	-webkit-transition: 0.2s ease;
}
#contact input[type="submit"]:hover, #contact input[type="reset"]:hover {
	text-shadow: 0 0 8px #999;
	color: black;
}
#contact input[type="submit"]:active, #contact input[type="reset"]:active {
	top: 1px;
	border-bottom: 1px solid #bbb;
}


/*
 * Hacks
*/
.group:after {
  content: "";
  display: table;
  clear: both;
}

body > a {
	display: none;
}